package com.saltlux.tdd.algorithm;

import org.junit.Assert;
import org.junit.Test;

public class InsertionValueTest {

	@Test
	public void testInsertionValue() {
		String[] values = new String[] { "a", "c", "b", "d" };
		new InsertionValue().pickAndInsert(values, 3, 1);
		
		Assert.assertArrayEquals(new String[]{"a", "d", "c", "b"}, values);
	}
}
